import Vue from 'vue'
import App from './pages'
import router from './router'
import store from './store'
import './style/index.less'
import vant, { Toast } from 'vant'
import 'vant/lib/index.css'
// import echarts from 'echarts' // 引入echarts

// Vue.prototype.$echarts = echarts // 注册组件

Vue.use(Toast)
Vue.use(vant)
Vue.prototype.$myStore = store
Vue.prototype.$myRouter = router
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#root')
